package com.glodon.paas.document.service.util;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "databagparam")
class DataBagParam {

    private String userId;

    private String input;

    private String extension;

    private String name;

    private String fileId;

    private String token;

    public String getInput() {
        return input;
    }

    public void setInput(String input) {
        this.input = input;
    }

    public DataBagParam() {

    }

    public DataBagParam(String userId, String inputURL, String fileId, String name, String extension) {
        this.input = inputURL;
        this.userId = userId;
        this.name = name;
        this.extension = extension;
        this.fileId = fileId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

}
